<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui"> 

<h:head>	
<title>Universidade de Brasilia FGA</title>
</h:head>	

    <p:panel>
<center>
<p:graphicImage value="imagens/gama_header1.png"/>

<h1>#{msgs.campoCabecalho}</h1>  

<h4>#{msgs.campoPagina3}</h4>


<h:body>
<h:form>

   <p:panel id="panel" style="margin-bottom:30px;">  
   
        <p:messages />  
        <h:panelGrid columns="1"> 
         
         	<h:panelGroup>
            <h:outputLabel for="estadoCivil" value="#{msgs.campoEstadoCivil}:" /> 
            <h:selectOneMenu id="estadoCivil" styleClass="input-select"    
                value="#{alunoBean.aluno.estadocivil}" label="estadoCivil" >  
                  
                <f:selectItem itemLabel=" -- Selecione --" itemValue="" />  
                <f:selectItem itemLabel=" Solteiro " itemValue="solteiro" />  
                <f:selectItem itemLabel=" Casado " itemValue="casado" />  
                <f:selectItem itemLabel=" Disvorciado " itemValue="disvorciado" />  
                <f:selectItem itemLabel=" Viúvo " itemValue="viuvo" />    
            </h:selectOneMenu>    
            <p:message for="estadoCivil" />  
            </h:panelGroup>
            
            <h:panelGroup>
            <h:outputLabel for="numeroIrmaos" value="#{msgs.campoNumeroIrmaos}:" />              
            <p:inputText id="numeroIrmaos"   
                value="#{alunoBean.aluno.numeroirmaos}" required="true" label="numeroIrmaos"/>  
            <p:message for="numeroIrmaos" />  
            </h:panelGroup>
            
            <h:panelGroup>
            <h:outputLabel for="numeroFilhos" value="#{msgs.campoNumeroFilhos}:" />  
            <p:inputText id="numeroFilhos"   
                value="#{alunoBean.aluno.numerofilhos}" required="true" label="numeroFilhos"/>  
            <p:message for="numeroFilhos" />  
            </h:panelGroup>
            
            <h:panelGroup>
            <h:outputLabel for="descricaoCor" value="#{msgs.campoDescricaoCor}:" />  
            <p:inputText id="descricaoCor"   
                value="#{alunoBean.aluno.descricaocor}" required="true" label="descricaoCor"/>  
            <p:message for="descricaoCor" />  
            </h:panelGroup>
            
            <h:panelGroup>
            <h:outputLabel for="tipoMoradiaAluno" value="#{msgs.campoMoradia}:" /> 
            <p:inputText id="tipoMoradiaAluno"   
                value="#{alunoBean.aluno.tipomoradiaaluno}" required="true" label="tipoMoradiaAluno">   
            </p:inputText>  
            <p:message for="tipoMoradiaAluno" />  
            </h:panelGroup>
            
            <h:panelGroup>
            <h:outputLabel for="rendaMoradiaAluno" value="#{msgs.campoRendaMoradia}:" />  
            <p:inputText id="rendaMoradiaAluno"   
                value="#{alunoBean.aluno.rendamoradiaaluno}" required="true" label="rendaMoradiaAluno"/>  
            <p:message for="rendaMoradiaAluno" />  
            </h:panelGroup>
            
            <h:panelGroup>
            <h:outputLabel for="qtdPessoasMoradia" value="#{msgs.campoQuantidadePessoasMoradia}:" />  
            <p:inputText id="qtdPessoasMoradia"   
                value="#{alunoBean.aluno.qtdpessoasmoradia}" required="true" label="qtdPessoasMoradia"/>  
            <p:message for="qtdPessoasMoradia" /> 
            </h:panelGroup>
            
			
            <h:panelGrid columns="2"> 
            <h:outputText value="#{msgs.campoTrabalho}: " />  
            <h:selectOneRadio value="#{alunoBean.aluno.temtrabalho}">  
            <f:selectItem itemLabel="#{msgs.campoSim}" itemValue="TRUE" />  
            <f:selectItem itemLabel="#{msgs.campoNao}" itemValue="FALSE" />  
           </h:selectOneRadio>  
            </h:panelGrid>  
            
			<h:panelGroup>
            <h:outputLabel for="cargaHorariaTrabalho" value="#{msgs.campoHorarioTrabalho}:" /> 
            <p:inputText id="cargaHorariaTrabalho"   
                value="#{alunoBean.aluno.cargahorariatrabalho}" required="true" label="cargaHorariaTrabalho"/>  
            <p:message for="cargaHorariaTrabalho" />         
            </h:panelGroup>
            
            <h:panelGroup>
            <h:outputLabel for="scolaridadePai" value="#{msgs.campoEscolaridadePai}:" />  
            <p:inputText id="scolaridadePai"   
                value="#{alunoBean.aluno.escolidadepai}" required="true" label="scolaridadePai"/>  
            <p:message for="scolaridadePai" /> 
            </h:panelGroup>
            
            <h:panelGroup>
            <h:outputLabel for="scolaridadeMae" value="#{msgs.campoEscolaridadeMae}:" />  
            <p:inputText id="scolaridadeMae"   
                value="#{alunoBean.aluno.escolidademae}" required="true" label="scolaridadeMae"/>  
            <p:message for="scolaridadeMae" /> 
           </h:panelGroup>
            
            <h:panelGroup>
            <p:commandButton value="#{msgs.campoBotaoAnterior}" update="panel,display" actionListener="#{pprBean.ant}" /> 
     		<p:commandButton value="#{msgs.campoBotaoProximo}" update="panel,display" actionListener="#{pprBean.prox}" /> 
			</h:panelGroup>
     		
        </h:panelGrid>  
        
     		
    </p:panel> 

    <hr size="8" width="50%" />
<h6>#{msgs.campoEnderecoUnB}</h6>


</h:form>


</h:body>
</center>
</p:panel>
</html>